@mixin w($w:100%) {
  width: $w;
}

@mixin h($h:100%) {
  height: $h;
}

@mixin wh($w:100%,$h:100%) {
  width: $w;
  height: $h;
}

@mixin fontLimit($row:1){
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: $row;
  -webkit-box-orient: vertical;
}



@mixin lineone($color:'red' ,$deep:'1px') {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: $deep;
  background-color: $color;
}


@mixin linePseudo($color:'red' ,$deep:'1px', $pseudoName:1) {
  position: relative;
  @if $pseudoName == 1 {
    &::before{
      @include lineone($color,$deep)
    }
  }@else{
    &::after{
      @include lineone($color,$deep)
    }
  }
  
}